<html>
<head><meta charset="utf-8"><title>updated tests after --bless still failing · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/updated.20tests.20after.20--bless.20still.20failing.html">updated tests after --bless still failing</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="215247058"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/updated%20tests%20after%20--bless%20still%20failing/near/215247058" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> vn-ki <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/updated.20tests.20after.20--bless.20still.20failing.html#215247058">(Nov 01 2020 at 14:44)</a>:</h4>
<p>I ran <code>./x.py test src/.... --bless</code> to update the tests after a change. it changed something (I think it looks correct, but the tests are still failing)</p>
<div class="codehilite"><pre><span></span><code>---- [ui] ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param.rs stdout ----

error: /mnt/videos/others/rust/src/test/ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param.rs:9: unexpected error: &#39;9:6: 9:14: use of partially moved value [E0382]&#39;

error: /mnt/videos/others/rust/src/test/ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param.rs:9: expected error not found: use of moved value

error: 1 unexpected errors found, 1 expected errors not found
status: exit code: 1
command: &quot;/mnt/videos/others/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc&quot; &quot;/mnt/videos/others/rust/src/test/ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param.rs&quot; &quot;-Zthreads=1&quot; &quot;--target=x86_64-unknown-linux-gnu&quot; &quot;--error-format&quot; &quot;json&quot; &quot;-Zui-testing&quot; &quot;-Zdeduplicate-diagnostics=no&quot; &quot;--emit&quot;
 &quot;metadata&quot; &quot;-C&quot; &quot;prefer-dynamic&quot; &quot;--out-dir&quot; &quot;/mnt/videos/others/rust/build/x86_64-unknown-linux-gnu/test/ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param&quot; &quot;-A&quot; &quot;unused&quot; &quot;-Crpath&quot; &quot;-O&quot; &quot;-Cdebuginfo=0&quot; &quot;-Zunstable-options&quot; &quot;-Lnative=/mnt/videos/others/rust/build/x86_64-unknown-linux-gnu/native/rus
t-test-helpers&quot; &quot;-L&quot; &quot;/mnt/videos/others/rust/build/x86_64-unknown-linux-gnu/test/ui/pattern/bindings-after-at/bind-by-move-no-subbindings-fun-param/auxiliary&quot;
unexpected errors (from JSON output): [
    Error {
        line_num: 9,
        kind: Some(
            Error,
        ),
        msg: &quot;9:6: 9:14: use of partially moved value [E0382]&quot;,
    },
]

not found errors (from test file): [
    Error {
        line_num: 9,
        kind: Some(
            Error,
        ),
        msg: &quot;use of moved value&quot;,
    },
]
</code></pre></div>



<a name="215247265"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/updated%20tests%20after%20--bless%20still%20failing/near/215247265" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/updated.20tests.20after.20--bless.20still.20failing.html#215247265">(Nov 01 2020 at 14:49)</a>:</h4>
<p>you need to update the <code>//~ ERROR</code> comments in the test files too</p>



<a name="215247407"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/updated%20tests%20after%20--bless%20still%20failing/near/215247407" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> vn-ki <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/updated.20tests.20after.20--bless.20still.20failing.html#215247407">(Nov 01 2020 at 14:52)</a>:</h4>
<p><del>do i have to change <code>msg: "borrow of moved value", </code> to <code>msg: "14:14: 14:25: borrow of moved value [E0382]",</code>?</del></p>
<p>EDIT: nevermind</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>